﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using InventoryPro.DAL;
using InventoryPro.BL;

namespace InventryPro.Products
{
    public partial class Products : System.Web.UI.Page
    {

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                ProductLogic customerBL = new ProductLogic();
                gridProduct.DataSource = customerBL.GetAllProducts();
                gridProduct.DataBind();
            }
            
        }

        protected void btnSearch_Click(object sender, EventArgs e)
        {

        }

        protected void btnClear_click(object sender, EventArgs e)
        {

        }

        
        }

    }

